Skip to content

Conversation

@ItsElaineTime
Copy link

What github issue is this PR for, if any?

Resolves #552

What does this code do, and why?

Adds a Development-environment-only flow to impersonate any user, without requiring local OAuth, to make it easier to test users in various states.

How is this code tested?

Tested locally with development database.

Are any database migrations required by this change?

No.

Are there any configuration or environment changes needed?

No.

Screenshots please :)

impersonate option impersonate user select

Add a Development-environment-only flow to impersonate any user, without requiring local OAuth, to make it easier to test users in various states.
@ItsElaineTime
Copy link
Author

I'd especially love a couple of knowledgeable folks to take a look and review this:

  • It touches user auth
  • It's been over a decade since I've written Rails code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a fake user for local testing.

1 participant